
    <!-- Modal -->
    <div id="frm-post-popup" class="white-popup mfp-hide" style="max-width: 600px" data-acourse="{$acourse}">
        <h2>新增课程</h2>

        <div class="aline" style="margin-bottom: 10px"></div>

            <div class="row">
            <form class="form-horizontal " role="form"  action="{:U('doAddCourse')}" method="post" >  
    
                <div class="col-md-12">
                  <div class="form-group">
                  <label class="col-md-2 control-label"> 年级：</label>
                  <div class="col-md-6">
                     <input type="text" name="grade_t" id="acourseid" value="{$agrade.grade_t}" class="form-control">
                  </div>
                  <div class="col-md-3">（一般不改）</div>
                </div>
                
                  <div class="form-group">
                  <label class="col-md-2 control-label">标题：</label>
                  <div class="col-md-6">
                     <input type="text" name="title" id="title" value="{$acourse.title}" class="form-control data">
                  </div>
                  <div class="col-md-3">（课程名称）</div>
                </div>
                  <div class="form-group">
                  <label class="col-md-2 control-label">展示类型：</label>
                  <div class="col-md-6">
                      <label class="radio-inline"> <input name="up_cat" value="doc" checked="checked" type="radio"> 文档</label>
                      <label class="radio-inline"> <input name="up_cat" value="pic" type="radio"> 图片</label>
                    
                  </div>
                  <div class="col-md-3">（作品展示类型）</div>
                </div>
                <div class="form-group">
                  <label class="col-md-2 control-label">文件类型：</label>
                  <div class="col-md-6">
                     <input type="text" name="allow_ext" id="allow_ext" value="{$acourse.allow_ext}" class="form-control">
                  </div>
                  <div class="col-md-3">（文件扩展名）</div>
                </div>

                 <div class="form-group">
                  <label class="col-md-2 control-label">排  序：</label>
                  <div class="col-md-6">
                     <input name="sort" id="sort" value="" class="form-control" type="text">
                  </div>
                  <div class="col-md-3">（排序编号）</div>
                </div>
<!--                         <div class="form-group">
                            <label for="keti" class="col-sm-2 control-label">标题</label>
                            <div class="col-sm-10">
                                <select id="lid" name="lid" class="form-control">
                                  <volist name="keti" id="v">
                                     <option value="{$v.id}" 
                                     <if condition="$v.id eq $myclass['lid']">selected</if> >
                                            {$v.title}
                                        </option>
                                    </volist>
                                </select>
                            </div>
                        </div> -->
                       <!-- <eq name="v.id" value= "$myclass.lid" > </eq> -->
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <input type="hidden" name="grade" value="{$agrade.grade}">
                                
                                <button type="submit" class="btn btn-primary " href="{:U('Course/Teacher/doAddCourse')}">提交</button>
                            </div>
                        </div>
                    
                
                </div>
              </form>  
            </div>

   

    </div>
    <div class="form-group">
            <div class="controls">
            <!--调试信息输出-->
            <php>//dump($data);
            //dump(session('user_auth.bj_code'));
                    //dump(session('user_auth'));
                    </php>
            </div>
          </div>
          <script type="text/javascript">
            


            
          </script>
    <!-- /.modal -->



